CC	  = gmcs
BIN	  = ArtheaClient.exe
BIN_DIR	  = ../bin/
LIB_DIR	  = ../lib/

FLAGS	  = -define:MONO -win32icon:../../Arthea.ico

BIN_SRCS  = `find src -name "*.cs"`

default:
	@echo "Options:"
	@echo " all     - build everything."
	@echo " client  - build ${BIN}."
	@echo " convert - convert source from windows to *nix."

all: client

gui:
	${CC} ${FLAGS} -target:winexe -r:System.Windows.Forms.dll \
 		-r:System.Drawing.dll -out:${BIN_DIR}${BIN} ${BIN_SRCS}

convert:
	perl -pi -w -e 's/\255/ /g' ${BIN_SRCS}
